<div id="zenfolioWrapper">

<ul id="galleryMainNav">

  <?php foreach($this->galleries as $key => $value): ?>

  <li id="gallery<?php echo $key ?>"><a href="javascript:void(0);"><span><?php echo $value ?></span></a></li>

  <?php endforeach; ?>

</ul>

<div id="zenslideWrapper" initial="<?php echo  $this->initial ?>">

<div dojoType="dojox.image.SlideShow" <?php echo  ($this->maxHeight) ? 'imageHeight="'.$this->maxHeight.'" ' : '' ?>
<?php echo  ($this->maxWidth) ? 'imageWidth="'.$this->maxWidth.'" ' : '' ?> id="slideshow"></div>

  <p id="imageCaption"></p>

  <ul id="imagesNav"></ul>

</div>

<br class="clear" />

</div><!-- End zenfolioWrapper -->

